package com.example.demo.model;

import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
public class Userinfo implements Serializable {
    private int id;
    private String username;
    private String password;
    private String photo;
    private LocalDateTime createtime;
    private LocalDateTime updatetime;
    private String state;
    private String type;
    private String email;
    private String prove; // 作者证明

//    public static void main(String[] args) {
//        String pd = "123";
//        // 全局唯一标识符
//        UUID uuid = UUID.randomUUID();
//        System.out.println(DigestUtils.md5DigestAsHex(pd.getBytes(StandardCharsets.UTF_8)));
//        System.out.println(uuid.toString());
//        Boolean a = StringUtils.hasLength(pd);
//        System.out.println(a);
//    }
}
